#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Times;
using Cephei.QL;
namespace Cephei.QL.Instruments
{
    /// <summary> 
	/// ! A Swing option can only be exercised at a set of fixed date times
	/// </summary>
    [Guid ("CCDA9701-B06B-41a0-9EBF-7BCBF40543BF"),ComVisible(true)]
	public interface ISwingExercise : Cephei.QL.IBermudanExercise
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Double> ExerciseTimes(Cephei.QL.Times.IDayCounter dc, DateTime refDate);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<UInt64> Seconds {get;}
    }   

    /// <summary> 
	/// ! A Swing option can only be exercised at a set of fixed date times Factory
	/// </summary>
   	[ComVisible(true)]
    public interface ISwingExercise_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    ISwingExercise Create (DateTime from, DateTime to, UInt64 stepSizeSecs);
        /// <summary> 
		/// 
		/// </summary>
	    ISwingExercise Create (Cephei.Core.IVector<DateTime> dates, Microsoft.FSharp.Core.FSharpOption<Cephei.Core.IVector<UInt64>> seconds);
    }
}

